package com.zhanghu.backendZray.pojo.request.file;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author ZhangDong
 * @date 2024/8/17 16:17
 */
@Data
public class FileUploadRequest {

    private MultipartFile file;
    private String name;
    private Long size;

    public static void main(String[] args) {
        int length = "http://192.168.1.4:9080/zray/20231114-1.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=zray%2F20240817%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240817T040915Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ae7646e87ebca571925df050612154573cd8e6b07b55153cc365545c78ed1dc5".length();
        System.err.println(length);
    }
}
